import reshandler from 'services/response-handler'
/*
 * 店铺信息（通过活动获取）
 */
function makeData(data) {
    console.log(data)
        return {
            shop:data.shop,
            data:data
        }
}
export default function (params, success, fail) {
    this.$.get(params)
        .then(reshandler.success(success, fail, makeData), reshandler.error(fail))
}
